<include file="Public:head" />
<body>
<div id="body-wrapper">
  <div id="sidebar">
    <div id="sidebar-wrapper">
		<include file="Public:left-nav" />
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Page Head -->
    <ul class="shortcut-buttons-set">
      <!-- <li><a class="shortcut-button" href="__APP__/Shebei/add"><span><img src="__PUBLIC__/admin/images/icons/paper_content_pencil_48.png"><br/>新增员工</span></a></li> -->
	  <li><a class="shortcut-button" href="__APP__/Shebei/index"><span><img src="__PUBLIC__/admin/images/icons/29.png"><br/>查看使用统计</span></a></li>
	  <li><a class="shortcut-button" href="__APP__/Shebei/lizhi"><span><img src="__PUBLIC__/admin/images/icons/28.png"><br/>查看离职库</span></a></li>
	  <li><a class="shortcut-button" href="__APP__/Shebei/tsj"><span><img src="__PUBLIC__/admin/images/icons/3.png"><br/>主机设备清单</span></a></li>
	  <li><a class="shortcut-button" href="__APP__/Shebei/xsq"><span><img src="__PUBLIC__/admin/images/icons/4.png"><br/>显示器设备清单</span></a></li>
	  
    </ul>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h4>显示器设备统计&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="__URL__/xsqadd">新增显示器设备</a></h4>
      </div>
      <!-- End .content-box-header -->
    </div>
<script type="text/javascript">
	$(document).ready(function(){
			$('select[name=classif]').val({$classif});
	});
</script>
<div class="content-box-content">
        <div class="tab-content default-tab">
         <div class="notification information">
      <div>
				<form method="post" action="__APP__/Shebei/xsq">
					<div id="soso">
                    <select name="classif">
                      <option value="0">主机编号</option>
					  <option value="1">员工姓名</option>
                    </select>
					<input type="text" name="text" value="{$text}">
					<input type="submit" value="开始搜索">
                    <!-- <a class="button">开始搜索</a>  -->
				</div>
				</form>
	 </div>
    </div>
          <table border="0" cellpadding="0" cellspacing="0">
            <thead>
              <tr>
				<th>资产编号</th>
				<th>使用人</th>
                <th>型号、配置与编号</th>
				<th>主机日期</th>
				<th>状态</th>
				<th>备注</th>
				<th>操作</th>
              </tr>
            </thead>
            <tfoot>
              <tr>
                <td colspan="9">
                  <div class="bulk-actions align-left">
						<!-- <button id="submit">批量删除</button> -->
				  </div>
                  <div class="pagination"><a href="#" class="number current">{$page}{$empty}</a>
				  </div>
                  <!-- End .pagination -->
                  <div class="clear"></div>
                </td>
              </tr>
            </tfoot>
            <tbody>
			<foreach name="list" item="vo">
              <tr>
                <td>{$vo.xsq}</td>
                <td><b>{$vo.yourname|default='<i>空位</i>'}</b></td>
                <td>显示器型号：{$vo.xxinghao|default='<i>未填写</i>'}<br/>显示器编号：{$vo.snid}</td>
				<td>生产日期：{$vo.xmadedate|default='<i>未填写</i>'}<br/>购入日期：{$vo.xmaidate|default='<i>未填写</i>'}<br/>购买价格：{$vo.xmoeny|default='<i>未填写</i>'}</td>
				<td>
					<switch name="vo.status">
						<case value="1"><span style="color:#33cc00;">正在使用</case>
						<case value="2"><span style="color:#808080;">已离职或空闲</span></case>
						<default /><span style="color:#808080;">已离职或空闲</span>
					</switch>
				</td>
				<td>{$vo.xremark|default='<i>未填写</i>'}</td>
                <td>
                  <a href="__APP__/Shebei/xsqedit/{$vo.xid}" title="编辑职位"><img src="__PUBLIC__/admin/images/icons/pencil.png" alt="Edit" /></a><!-- &nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" class="del" delnum="{$vo.id}"><img src="__PUBLIC__/admin/images/icons/cross.png" alt="Delete" /></a>  --></td>
              </tr>
			 </foreach>
            </tbody>
          </table>
        </div>
      </div>
      <!-- End .content-box-content -->
    </div>
  </div>
  <!-- End #main-content -->
</div>
<!-- End #body-wrapper-->
</body>
</html>
